home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 2000 January: Mac OS SDK / Dev.CD Jan 00 SDK2.toast / What's New / • What was new 11⁄99 / Sample Code / Interapplication Communication / FinderDragPro / GetIconSuiteFromFinder.h < prev    next >
Encoding:
C/C++ Source or Header  |  1999-09-13  |  1.3 KB  |  41 lines  |  [TEXT/MPS ]

  1. /*
  2.     File:        FinderDragPro.c
  3.     
  4.     Description:     Sample file illustrating drag and drop techniques for use
  5.                 with file system objects.  This file illustrates how applications
  6.                 can use drag and drop commands in a way compatible with current
  7.                 and past versions of the Finder.
  8.  
  9.     Author:        Pete Gontier
  10.  
  11.     Copyright:     Copyright: © 1999 by Apple Computer, Inc.
  12.                 all rights reserved.
  13.     
  14.     Disclaimer:    You may incorporate this sample code into your applications without
  15.                 restriction, though the sample code has been provided "AS IS" and the
  16.                 responsibility for its operation is 100% yours.  However, what you are
  17.                 not permitted to do is to redistribute the source as "DSC Sample Code"
  18.                 after having made changes. If you're going to re-distribute the source,
  19.                 we require that you make it clear in the source that the code was
  20.                 descended from Apple Sample Code, but that you've made changes.
  21.     
  22.     Change History (most recent first):
  23.     06/09/95    NG    last touched
  24.     08/23/96    PG    stolen from Nitin's old FinderDrag project
  25.     04/21/97    PG    pascal programs can be written in any language
  26. */
  27.  
  28. #pragma once
  29.  
  30. #include <Drag.h>
  31. #include <FinderRegistry.h>
  32.  
  33. //
  34. //    These two should be in FinderRegistry.h, but they ain't
  35. //
  36.  
  37. #define keyLocalPositionList    'mvpl'
  38. #define keyGlobalPositionList    'mvpg'
  39.  
  40. OSErr GetIconSuiteFromFinder(FSSpecPtr, Handle *);
  41.